


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- <meta http-equiv="Cache-Control" content="max-age=10"/> -->
    <!-- <meta http-equiv="X-UA-Compatible" content="ie=edge"> -->
    <!-- <link rel="stylesheet" href="reset.css"> -->
    <title>Document</title>
</head>
<body>

    我是页面

    <div></div>
    

    <script src="jquery.min.js"></script>
    
	<script type="text/javascript">

        // $.ajax({
       //      type:"POST",
        //     url:"http://localhost:8080/ho/a",
        //     headers:{
        //         "Cache-Control":"max-age=100,private",
        //     },
         //    success:function(res,a,b){
            
          //       console.log("res--->",res,"\n\nresHeaders------>\n\n",b.getAllResponseHeaders())

         //    }
         //})

        $.ajax({
            type:"GET",
            url:"http://localhost:8080/ho/cache",
            headers:{
                "Cache-Control":"max-age=100"
             //  "If-Modified-Since": "Fri, 10 Aug 2018 9:02:14 GMT"
                //"If-None-Match": "adfasdfasdf"
                //"If-Unmodified-Since": "Fri, 10 Aug 2018 9:02:14 GMT"
            }
        })

         $.ajax({
             type:"GET",
             url:"http://localhost:8080/ho/data.json",
             headers:{
                 "Cache-Control":"max-age:100",
                 //"If-Modified-Since": "Fri, 10 Aug 2018 9:02:14 GMT"
             }
         })

        // $.ajax({
        //     type:"GET",
        //     url:"http://localhost:8080/ho/reset.css"
        //  })

    </script>
</body>
</html>